#!/usr/bin/env php
<?php
/**
 * @version {@package_version}
 * @branch {@package_branch_alias_version}
 * @release-date {@release_date}
 */

define('BASE_PATH', dirname(__DIR__));

require dirname(__DIR__) . '/test/boot.php';

// create app instance
$app = new \Inhere\Console\Application([
    'debug' => true,
    'rootPath' => dirname(__DIR__),
]);

$app->setLogo("
     ________    ____   ___                ___            __  _
    / ____/ /   /  _/  /   |  ____  ____  / (_)________ _/ /_(_)___  ____
   / /   / /    / /   / /| | / __ \/ __ \/ / / ___/ __ `/ __/ / __ \/ __ \
  / /___/ /____/ /   / ___ |/ /_/ / /_/ / / / /__/ /_/ / /_/ / /_/ / / / /
  \____/_____/___/  /_/  |_/ .___/ .___/_/_/\___/\____/\__/_/\____/_/ /_/
                          /_/   /_/
", 'success');

require __DIR__ . '/commands.php';

// run
$app->run();
